<?php
namespace app\controllers;
use app\models\Post;
class HomeController extends BaseController
{
    public function index(){
       //echo "<h1 style='font-size:100px;text-align:center;'>Holle World</h1>";
       $post = Post::select('id', 'title','content')->first();
       echo view('index', compact('post'));

    }
}